JchOptimize\Core\Html\HtmlManager B

Total Complexity 80
Dependencies 26
Dependents 3
Total lines 447
Lines of code 282
Logical lines of code 171
Comment lines 75
Methods 28
Properties 7

Methods 28

Method Rating Maintainability Complexity Lines of code
replaceLinks()
A
43 10 47
buildUrl()
A
50 8 26
createStaticFiles()
S
53 7 20
addDeferredJs()
S
57 5 16
addCustomCss()
S
53 4 25
isGZ()
S
75 4 3
loadCssAsync()
S
64 4 9
getPreloadLink()
S
66 3 7
postProcessHtml()
S
71 3 5
preProcessHtml()
S
71 3 5
getNewJsLink()
S
64 3 10
appendAsyncScriptsToHead()
S
68 3 8
__construct()
S
61 2 12
addExcludedJsToSection()
S
62 2 11
getPreconnectLink()
S
65 2 8
getPreloadStyleSheet()
S
67 2 7
noMoreExcludedJsFiles()
S
78 2 3
appendChildToHead()
S
65 2 8
cleanScript()
S
69 2 6
prependChildToHead()
S
73 1 4
addJsLazyLoadAssetsToHtml()
S
71 1 5
getNewCssLink()
S
78 1 3
getModulePreloadLink()
S
77 1 3
setImgAttributes()
S
74 1 4
appendChildToHTML()
S
64 1 9
removeCSSLinks()
S
72 1 5
removeJsLinks()
S
72 1 5
addCriticalCssToHead()
S
64 1 8